import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2023-01-01
 * Time: 20:07
 */

public class TestDemo {
    public static void main(String[] args) {
        int[] array = {1,2,3};
        try {
            System.out.println(array[5]);
        } catch(ArrayIndexOutOfBoundsException e) {
            System.out.println("我捕捉到了一个数组越界异常！");
        }
        System.out.println("阿萨姆奶茶真好喝");
    }
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        System.out.println(n);
    }
}
